import Vue from 'vue';
import router from 'vue-router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import RegisterSeller from './components/registerSeller/register-seller.vue';
import SellerNotice from './components/registerSeller/seller-notice.vue';
import axios from 'axios'; 
import VueCookie from 'vue-cookie'
import 'element-ui/lib/theme-chalk/display.css';
import '../static/theme/index.css';
Vue.prototype.$ajax = axios
Vue.use(ElementUI);
Vue.use(VueCookie);
Vue.use(router);
Vue.config.productionTip = false;
const route=new router({
	mode:'history',
	history:false,
	routes:[
		{path:'/H5/register-seller.html',component:RegisterSeller},
		{path:'/H5/register-seller.html/SellerNotice',component:SellerNotice},
	]
});
new Vue({
  el: '#app',
  router:route,
  beforeCreate(){
  	this.$router.push({path:'/H5/register-seller.html'});
  }
  // components: { 
  // 	RegisterSeller ,
  // },
  // template: '<RegisterSeller/>'
})
